package com.qyl.cityInfo.service.impl;

import java.util.List;

import com.qyl.cityInfo.dao.BaseDao;
import com.qyl.cityInfo.dao.TypeDao;
import com.qyl.cityInfo.dao.impl.TypeDaoImpl;
import com.qyl.cityInfo.dto.Type;
import com.qyl.cityInfo.service.TypeService;

public class TypeServiceImpl extends BaseDao implements TypeService{

	TypeDao typeDao = new TypeDaoImpl();
	
	@Override
	public Type getTypeById(Integer id) {
		
		return typeDao.getTypeById(id);
	}

	@Override
	public List<Type> getTypes() {
		
		return typeDao.getTypes();
	}

}
